continuity and differentiability jee advanced